package com.weic.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class FirstController {

    @ResponseBody
    @RequestMapping(value = "/firstController")
    public String firstController(HttpServletRequest request, HttpServletResponse response)  {
        return "hello springboot";
    }
}
